package com.xyd.entity;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 类描述：
 *
 * @author 张吉哲
 * @date 2021/1/9 14:10
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class News implements Serializable {

  /** 新闻编号 */
  private Long enId;
  /** 新闻标题 */
  private String enTitle;
  /** 介绍内容 */
  private String enContent;
  /** 创建时间 */
  private String enCreateTime;

  public News(Long enId, String enTitle, String enContent) {
    this.enId = enId;
    this.enTitle = enTitle;
    this.enContent = enContent;
  }
}
